package com.itheima.oop.Test01;

public class MainApp {
    public static void main(String[] args) {
        Teacher t1 = new Teacher("t001","薛之谦","男",26,"Java");
        Teacher t2 = new Teacher("t002","张碧晨","女",24,"IOS");
        Teacher t3 = new Teacher("t003","张杰","男",28,"Java");
        Subject s1 = new Subject();
        s1.setId("s001");
        s1.setName("Java");
        s1.setTime("2007-02-08");
        s1.setDescription("Java学科,包含JavaSE和JavaEE");
        Subject s2 = new Subject("s002","IOS","2007-02-09","IOS系统开发");
        t1.show();
        t2.show();
        t3.show();
        s1.show();
        s2.show();
    }
}
